import instance from "../utils/request";
/**
 * 获取订单管理列表
 * @param params 
 * @returns 
 */
export const getOrder = (params: any) => instance.get("/api/v1/admin/order", { params });
/**
 * 获取订单详情
 * @param params 
 * @returns 
 */
export const getOrderDetail = (params: any) => instance.get("/api/v1/admin/orderdetail", { params })

//
export const getid=(params:any)=>instance.get("/api/v1/products",{params})